home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / ColorSync 2.5.1 SDK / Sample Code / CSDemo 2.5 / CSDemo -- readme next >
Encoding:
Text File  |  1998-09-09  |  3.1 KB  |  62 lines  |  [TEXT/ttxt]

  1. CSDemo — version 2.5d1
  2.  
  3. 23 March, 1998
  4.  
  5.  
  6. The enclosed is a demo/sample application for ColorSync 2.x.  Among other things, it can open a pict file (which may have embedded profiles or profile identifiers), allow the user to choose source, output and display profiles, and convert the pict in several useful ways.  The code is not fully polished or documented, so be prepared to find some bugs.
  7.  
  8. If you're looking for useful ColorSync routines in the code, here are the source files you should look at first:
  9.  
  10. 1) colorsyncStuff.c -- This file contains some useful routines for dealing with profiles and picts with embedded profiles.
  11.  
  12. 2) myDrawMatchedPicture -- This file contains a different implementation of NCMDrawMatchedPicture.
  13.  
  14. 3) winProfile.c -- This code displays a Finder-like Get Info window for CS1 and CS2 profiles.
  15.  
  16. 4) winProfID.c -- This code displays a Finder-like Get Info window for CS2.1 profile identifiers.
  17.  
  18. 5) winProfList.c -- This code displays a scrollable list of profiles in the "ColorSync Profiles Folder"
  19.  
  20. I hope that this is of some assistance.  If you have any more related questions or bug reports, please send a link to DEVSUPPORT.
  21.  
  22. Happy syncing,
  23.  
  24. David Hayward & Eric Broadbent
  25. ColorSync Engineering Group
  26. Apple Computer, Inc.
  27.  
  28.  
  29.  
  30.  
  31. Modification History
  32.  
  33. Version 2.5d1  (3/98)
  34.  
  35. Added support for new features of ColorSync 2.5.  Most noticable of these is changing winProfList.c to use the new CMIterateColorSyncFolder which is much faster than the old profile search routines.  Added timing information to the Pict window.  Updated projects to CodeWarror Pro 1.  Did miscellaneous cleanups and additions to the shell code. 
  36.  
  37. Version 1.1b2  (2/97)
  38.  
  39. IMPORTANT: I moved a popup in profile windows from Attributes[0] to Attributes[1].  According to the ICC Profile Spec and the latest revision of the ColorSync documentation, Attributes[1] is the correct location for the glossy/matte and reflective/transparent bits.  The current CMICCProfile.h file is incorrect in this regard and many of the Apple monitor profiles make incorrect use of these same bits to hold white-point information.  Also, in the profile windows, I added new ColorSync 2.1 bits to the Flags popup.  
  40.  
  41. Updated projects to CodeWarror 11.  Added support to copy picts to clipboard.  Removed QuickDraw GX printing support.  Did miscellaneous cleanups and additions to the shell code. 
  42.  
  43. Version 1.1b1  (7/96)
  44.  
  45. Added support for new features of ColorSync 2.1.  Did miscellaneous cleanups of the code and its comments. 
  46.  
  47. Version 1.0b3  (9/95)
  48.  
  49. Factored code somewhat to improve the framework.  Added Drag & drop support for pictures.  Did miscellaneous cleanups of the code and its comments. 
  50.  
  51. Version 1.0b2  (6/94)
  52.  
  53. Improved PrependProfileToPicHandle() so that it sets the embedded flag bit in the profile header before calling NCMUseProfileComment().  This is the proper thing to do in order to respect the copyright of the profile. 
  54.  
  55. Changed to code used for GX printing so that if used the new GX interfaces.  These new interfaces are on E.T.O. 18.
  56.  
  57. Did miscellaneous cleanups of the code and its comments. 
  58.  
  59. Version 1.0b1  (4/94)
  60.  
  61. Initial release on the ColorSync 2.0 SDK
  62.